[INFO] cloning repository https://github.com/williambl/w4shot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/williambl/w4shot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliambl%2Fw4shot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliambl%2Fw4shot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f5166be9c4d16693b413385a0fce245a96868eca
[INFO] fixing williambl/w4shot against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliambl%2Fw4shot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/williambl/w4shot
[INFO] finished tweaking git repo https://github.com/williambl/w4shot
[INFO] tweaked toml for git repo https://github.com/williambl/w4shot written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/williambl/w4shot on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/williambl/w4shot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1
[INFO] running `Command { std: "docker" "start" "8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking buddy-alloc v0.4.2
[INFO] [stderr]     Checking cart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]        Fixed src/wasm4.rs (11 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: cart v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking cart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/game.rs:5:112
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::wasm4::{BUTTON_1, BUTTON_DOWN, BUTTON_LEFT, BUTTON_RIGHT, BUTTON_UP, DRAW_COLORS, rect, text, tone, trace};
[INFO] [stdout]   |                                                                                                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:411:18
[INFO] [stdout]     |
[INFO] [stdout] 411 |             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout]     |                  ^                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 411 -             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout] 411 +             rect(entity.x as i32 - half_size , (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:411:49
[INFO] [stdout]     |
[INFO] [stdout] 411 |             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout]     |                                                 ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 411 -             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout] 411 +             rect((entity.x as i32 - half_size), entity.y as i32 - half_size , entity.size as u32, entity.size as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:416:24
[INFO] [stdout]     |
[INFO] [stdout] 416 |             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                        ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 416 -             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 416 +             render_eye(entity.x as i32 - half_size , (entity.y as i32 - half_size));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:416:55
[INFO] [stdout]     |
[INFO] [stdout] 416 |             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                                                       ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 416 -             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 416 +             render_eye((entity.x as i32 - half_size), entity.y as i32 - half_size );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:421:28
[INFO] [stdout]     |
[INFO] [stdout] 421 |             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 421 -             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 421 +             render_powerup(entity.x as i32 - half_size , (entity.y as i32 - half_size));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:421:59
[INFO] [stdout]     |
[INFO] [stdout] 421 |             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                                                           ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 421 -             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 421 +             render_powerup((entity.x as i32 - half_size), entity.y as i32 - half_size );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout]     |                     ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 430 -         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout] 430 +         render_ship(state.player_x as i32 - 4 , (state.player_y as i32 - 4));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:430:50
[INFO] [stdout]     |
[INFO] [stdout] 430 |         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout]     |                                                  ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 430 -         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout] 430 +         render_ship((state.player_x as i32 - 4), state.player_y as i32 - 4 );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blit_sub`
[INFO] [stdout]  --> src/sprites.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::wasm4::{blit, blit_sub};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, and `UnsafeCell`
[INFO] [stdout]  --> src/lib.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::{Cell, RefCell, UnsafeCell};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Filter`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::iter::Filter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IterMut` and `Iter`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::slice::{Iter, IterMut};
[INFO] [stdout]    |                  ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/game.rs:5:112
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::wasm4::{BUTTON_1, BUTTON_DOWN, BUTTON_LEFT, BUTTON_RIGHT, BUTTON_UP, DRAW_COLORS, rect, text, tone, trace};
[INFO] [stdout]   |                                                                                                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:411:18
[INFO] [stdout]     |
[INFO] [stdout] 411 |             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout]     |                  ^                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 411 -             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout] 411 +             rect(entity.x as i32 - half_size , (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:411:49
[INFO] [stdout]     |
[INFO] [stdout] 411 |             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout]     |                                                 ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 411 -             rect((entity.x as i32 - half_size), (entity.y as i32 - half_size), entity.size as u32, entity.size as u32);
[INFO] [stdout] 411 +             rect((entity.x as i32 - half_size), entity.y as i32 - half_size , entity.size as u32, entity.size as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:416:24
[INFO] [stdout]     |
[INFO] [stdout] 416 |             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                        ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 416 -             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 416 +             render_eye(entity.x as i32 - half_size , (entity.y as i32 - half_size));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:416:55
[INFO] [stdout]     |
[INFO] [stdout] 416 |             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                                                       ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 416 -             render_eye((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 416 +             render_eye((entity.x as i32 - half_size), entity.y as i32 - half_size );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:421:28
[INFO] [stdout]     |
[INFO] [stdout] 421 |             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 421 -             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 421 +             render_powerup(entity.x as i32 - half_size , (entity.y as i32 - half_size));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:421:59
[INFO] [stdout]     |
[INFO] [stdout] 421 |             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout]     |                                                           ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 421 -             render_powerup((entity.x as i32 - half_size), (entity.y as i32 - half_size));
[INFO] [stdout] 421 +             render_powerup((entity.x as i32 - half_size), entity.y as i32 - half_size );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout]     |                     ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 430 -         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout] 430 +         render_ship(state.player_x as i32 - 4 , (state.player_y as i32 - 4));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/game.rs:430:50
[INFO] [stdout]     |
[INFO] [stdout] 430 |         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout]     |                                                  ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 430 -         render_ship((state.player_x as i32 - 4), (state.player_y as i32 - 4));
[INFO] [stdout] 430 +         render_ship((state.player_x as i32 - 4), state.player_y as i32 - 4 );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blit_sub`
[INFO] [stdout]  --> src/sprites.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::wasm4::{blit, blit_sub};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, and `UnsafeCell`
[INFO] [stdout]  --> src/lib.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::{Cell, RefCell, UnsafeCell};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Filter`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::iter::Filter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IterMut` and `Iter`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::slice::{Iter, IterMut};
[INFO] [stdout]    |                  ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut state = Self {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_gamepad`
[INFO] [stdout]   --> src/lose.rs:21:51
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn update_lose(state: LoseState, gamepad: u8, last_gamepad: u8) -> State {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_gamepad`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMILEY` is never used
[INFO] [stdout]   --> src/lib.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const SMILEY: [u8; 8] = [
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/game.rs:311:37
[INFO] [stdout]     |
[INFO] [stdout] 311 |     fn update(self, state_snapshot: &GameState) -> (Entity, ChangeRequests) {
[INFO] [stdout]     |                                     ^^^^^^^^^^              ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 311 |     fn update(self, state_snapshot: &GameState) -> (Entity, ChangeRequests<'_>) {
[INFO] [stdout]     |                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cart` (lib test) due to 2 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut state = Self {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_gamepad`
[INFO] [stdout]   --> src/lose.rs:21:51
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn update_lose(state: LoseState, gamepad: u8, last_gamepad: u8) -> State {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_gamepad`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMILEY` is never used
[INFO] [stdout]   --> src/lib.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const SMILEY: [u8; 8] = [
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/game.rs:311:37
[INFO] [stdout]     |
[INFO] [stdout] 311 |     fn update(self, state_snapshot: &GameState) -> (Entity, ChangeRequests) {
[INFO] [stdout]     |                                     ^^^^^^^^^^              ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 311 |     fn update(self, state_snapshot: &GameState) -> (Entity, ChangeRequests<'_>) {
[INFO] [stdout]     |                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cart` (lib) due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1", kill_on_drop: false }`
[INFO] [stdout] 8f17f38b3c37354b970a4ff07ba58680a353c53b890a897662bdba55649b03f1
